<?php
require "../model/class_form.php";

if (isset($_POST["send"])){
	$from = $_POST['from'];
	$name = $_POST['name'];
	$form = new Form($from, $name);
}
isset($_GET["error"]) ? $error = "Form error !" : $error = "";

?>